package uy.edu.fing.pgsegesb.ws;


import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.jws.soap.SOAPBinding.Style;


@WebService(name = "SimpleWS", targetNamespace = "http://proveedorServicios/SimpleWS")
public class SimpleWS {
		
   @WebMethod
   public String sayHello(@WebParam(name = "toWhom") String toWhom, 
		   				  @WebParam(name = "message") String message )
   {

      String greeting = "Hello World Greeting for '" + message + "' on " + new java.util.Date();
      System.out.println(" +++++++++++++++++++++++++++++++++++++++++++++++++++++++ ");
      System.out.println("Mensaje recibido en Proveedor de Servicios: " + toWhom);
      System.out.println("Mensaje original recibido en Proveedor de Servicios: " + message);
      System.out.println(" +++++++++++++++++++++++++++++++++++++++++++++++++++++++ ");
      return greeting;

   }

}
